﻿using System.ComponentModel.DataAnnotations;
using WeBlog.Attributes;

namespace WeBlog.Models {
	public class ContactViewModel {
        [WeBlogRequired]
		public string FullName { get; set; }
		
		[WeBlogRequired]
        [EmailRegex]        
		public string Email { get; set; }

        [WeBlogRequired]
		public string Subject { get; set; }

        [WeBlogRequired]
		public string Message { get; set; }
	}
}